import turtle as t
from turtle import*

Latitude = [
    49.149394,
    48.993892,
    48.971949,
    49.025831,
    48.980994,
    49.060215,
    48.955587,
    48.777534,
    48.927519,
    48.984269,
    48.98422,
    48.984172,
    48.979497,
    48.983375,
]

Longitude = [
    -123.943134,
    -122.702242,
    -122.700941,
    -122.810653,
    -122.688503,
    -122.641648,
    -122.661037,
    -122.418612,
    -122.745016,
    -122.574809,
    -122.574726,
    -122.57472,
    -122.581335,
    -122.582465,
]


def drawciecle(x, y):
    global dot_color, circle_color, R, i
    t.color(circle_color)
    # draw a dot
    t.goto(x,y)
    t.pendown()
    t.dot(5, dot_color)
    t.write(i+1,font=('Arial',16,'normal'))
    t.penup()
    # draw a ciecle
    if i == 0:
        t.color('red')
    elif i == 1:
        t.color('blue')
    else:
        pass
    t.sety(y-R)
    t.pendown()
    t.circle(R)
    t.penup()
    t.home()

dot_color, circle_color = '#F1D00A', '#21325E'
j, k = 111, 6
R = 30*k
t.speed(20)

for i in range(len(Latitude)):
    x, y = (Longitude[i]+123.2)*j*k, (Latitude[i]-49)*j*k
    print('This is the {} point,x={},y={}'.format(i,x,y))
    t.penup()
    drawciecle(x, y)
t.hideturtle()
ts = t.getscreen()
ts.getcanvas().postscript(file="circle.eps")
